package com.xing.okhttp;

import okhttp3.Response;

import java.net.URL;

public interface IHttpClientManager {

   Response syncPost(URL url, String encoding, Object postBody) throws Exception;

   Response syncPost(String protocol, String host, int port, String uri, String encoding, Object postBody) throws Exception;

   Response syncPost(URL url, String encoding, byte data[]) throws Exception;

   Response syncGet(String protocol, String host, int port, String uri, String encoding) throws Exception;

}
